import java.util.Scanner;

public class One {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		while (scan.hasNextInt()) {
			int a, b;
			a = scan.nextInt();
			b = scan.nextInt();
			if (a > 1000)
				System.out.println("a<=1000");
			else
				System.out.println(a + b);
		}
		scan.close();
	}
}
